package com.example.demo.service.impl;

import com.example.demo.entity.SysLog;
import com.example.demo.mapper.SysLogMapper;
import com.example.demo.service.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author zhanpengguo
 * @date 2019-07-09 14:44
 */
@Service
public class LogServiceImpl implements LogService {

    @Autowired
    SysLogMapper sysLogMapper;

    @Override
    public void saveLog(SysLog sysLog) {
        sysLogMapper.insert(sysLog);
    }
}
